<test>
  <sql>SELECT	*
FROM	Territories t,
		Employees e
			INNER JOIN EmployeeTerritories et ON et.TerritoryID = t.TerritoryID</sql>
  <expectedErrors>
    <expectedError id="TableRefInaccessible" text="Table 't: Territories' is introduced in a different branch within the join hierarchy and is therefore inaccessible." />
  </expectedErrors>
</test>